<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div id="ECS_ORDERTOTAL">
	<table width="99%" align="center" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
		<if condition="$Think.session.user_id gt 0 and ($config['use_integral'] or $config['use_bonus'])">
			<tr>
				<td align="right" bgcolor="#ffffff">
					{$lang.complete_acquisition} 
					<!-- 是否使用积分-->
					<if condition="$config['use_integral']">
						<font class="f4_b">{$total.will_get_integral}</font> {$points_name}
					</if>
					<!-- 是否同时使用积分红包-->
					<if condition="$config['use_integral'] and $config['use_bonus']">
						，{$lang.with_price}  
					</if>
					<!-- 是否使用红包-->
					<if condition="$config['use_bonus']">
						<font class="f4_b">{$total.will_get_bonus}</font>{$lang.de}{$lang.bonus}。
					</if>
				</td>
			</tr>
		</if>
		<tr>
			<td align="right" bgcolor="#ffffff">
				{$lang.goods_all_price}: 
				<font class="f4_b">{$total.goods_price_formated}</font>
				<!--折扣 -->
				<if condition="$total['discount'] gt 0">
					- {$lang.discount}: <font class="f4_b">{$total.discount_formated}</font>
				</if>
				<!-- 税 -->
				<if condition="$total['tax'] gt 0">
					+ {$lang.tax}: <font class="f4_b">{$total.tax_formated}</font>
				</if>
				<!-- 配送费用 -->
				<if condition="$total['shipping_fee'] gt 0">
					+ {$lang.shipping_fee}: <font class="f4_b">{$total.shipping_fee_formated}</font>
				</if>
				<!-- 保价费用 -->
				<if condition="$total['shipping_insure'] gt 0">
					+ {$lang.insure_fee}: <font class="f4_b">{$total.shipping_insure_formated}</font>
				</if>
				<!-- 支付费用 -->
				<if condition="$total['pay_fee'] gt 0">
					+ {$lang.pay_fee}: <font class="f4_b">{$total.pay_fee_formated}</font>
				</if>
				<!-- 包装费用-->
				<if condition="$total['pack_fee'] gt 0">
					+ {$lang.pack_fee}: <font class="f4_b">{$total.pack_fee_formated}</font>
				</if>
				<!-- 贺卡费用-->
				<if condition="$total['card_fee'] gt 0">
					+ {$lang.card_fee}: <font class="f4_b">{$total.card_fee_formated}</font>
				</if>
			</td>
		</tr>
		<!-- 使用余额或积分或红包 -->
		<if condition="$total['surplus'] gt 0 or $total['integral'] gt 0 or $total['bonus'] gt 0">
			<tr>
				<td align="right" bgcolor="#ffffff">
					<!-- 使用余额 -->
					<if condition="$total['surplus'] gt 0">
						- {$lang.use_surplus}: <font class="f4_b">{$total.surplus_formated}</font>
					</if>
					<!--使用积分 -->
					<if condition="$total['integral'] gt 0">
						- {$lang.use_integral}: <font class="f4_b">{$total.integral_formated}</font>
					</if>
					<!-- 使用红包 -->
					<if condition="$total['bonus'] gt 0">
						- {$lang.use_bonus}: <font class="f4_b">{$total.bonus_formated}</font>
					</if>
				</td>
			</tr>
		</if>
		<tr>
			<td align="right" bgcolor="#ffffff"> {$lang.total_fee}: <font class="f4_b">{$total.amount_formated}</font>
				<if condition="$is_group_buy">
					<br/>
					{$lang.notice_gb_order_amount}
				</if>
				<!--消耗积分-->
				<if condition="$total['exchange_integral']">
					<br/>
					{$lang.notice_eg_integral}<font class="f4_b">{$total.exchange_integral}</font>
				</if>
			</td>
		</tr>
	</table>
</div>